/*
 * Panorama.h
 *
 *  Created on: Mar 30, 2011
 *      Author: s88900
 */

#ifndef PANORAMA_H_
#define PANORAMA_H_

#include "conc/Thread.h"
#include "ImageBuffer.h"
#include "PanoramaBuffer.h"
#include <iostream>

using namespace std;

class Panorama: public Thread {
private:
	ImageBuffer* buffer;
	PanoramaBuffer* pbuffer;
public:
	Panorama(ImageBuffer*, PanoramaBuffer*);
	void run();
	void refresh();
	void newImage(int, string);
	void reset();
	void print();
	virtual ~Panorama();
};

#endif /* PANORAMA_H_ */
